var gulp = require("gulp");
var browserSync = require("browser-sync").create();
var reload = browserSync.reload;

// Static server
gulp.task("default", function() {
  browserSync.init({
    server: {
      baseDir: "./"
    },
    open: false
  });
  gulp.watch(["./**/*", "!./node_modules/**"]).on("change", reload);
});
